package cassys.domain.classManagement;

import java.io.Serializable;

/**
 * @author User
 */
public class ClassRegistration implements Serializable {

    private long classMemberId;
    private ClassRegistrationStatus status;
    private Student student;
    private ClassGroup classGroup;

    public ClassRegistration() {
    }

    public ClassRegistration(ClassRegistrationStatus status, Student student, ClassGroup classGroup) {
        this.status = status;
        this.student = student;
        this.classGroup = classGroup;
    }

    protected void setStatus(ClassRegistrationStatus status) {
        this.status = status;
    }

    protected ClassRegistrationStatus getStatus() {
        return this.status;
    }

    //protected only for domain
    public Student getStudent() {
        return this.student;
    }

    /**
     * @return the classGroup
     */
    public ClassGroup getClassGroup() {
        return classGroup;
    }
}
